Skip to main content

State

Queries the state for the virtual balance contract.

query Vcoin {
vcoin {
state {
router
admin
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Vcoin {\n vcoin {\n state {\n router\n admin\n }\n }\n}"}'

Open in Playground

Return Fields

FieldTypeDescription
routerStringThe contract address of the router.
adminStringThe address of the admin for the VBalance contract.